import request from "@/utils/request";

enum API {
    IMAGE_URL = '/api/image/upload'
}

export const reqImage = (data: any) => request.post(API.IMAGE_URL, data,{
    headers: {
        'Content-Type': 'multipart/form-data',
    }});
